/// bedId : 4382097016811521
/// bedNo : "10(朝北)"
/// branchId : 6627
/// completeQuantity : 1
/// createdBy : "5"
/// createdDate : "2024-06-02 16:45:46"
/// customerId : 4965300435021824
/// customerName : "测试身份证导入"
/// doctor : "宋医生"
/// id : 1
/// prescriptionDate : "2024-06-02 16:42:47"
/// prescriptionDetailId : 2
/// prescriptionNo : "423553334"
/// projectName : "肌肉注射"
/// quantity : 1
/// saasId : 1000
/// status : 2
/// statusName : "已完成"
/// stockId : 9
/// updatedBy : "5"
/// updatedDate : "2024-06-02 17:16:24"
/// uploadDate : "2024-06-02 16:42:50"

class TreatmentRecordListData {
  TreatmentRecordListData({
      this.bedId, 
      this.bedNo, 
      this.branchId, 
      this.completeQuantity, 
      this.createdBy, 
      this.createdDate, 
      this.customerId, 
      this.customerName, 
      this.doctor, 
      this.id, 
      this.prescriptionDate, 
      this.prescriptionDetailId, 
      this.prescriptionNo, 
      this.projectName, 
      this.quantity, 
      this.saasId, 
      this.status, 
      this.statusName, 
      this.stockId, 
      this.updatedBy, 
      this.updatedDate, 
      this.uploadDate,});

  TreatmentRecordListData.fromJson(dynamic json) {
    bedId = json['bedId'];
    bedNo = json['bedNo'];
    branchId = json['branchId'];
    completeQuantity = json['completeQuantity'];
    createdBy = json['createdBy'];
    createdDate = json['createdDate'];
    customerId = json['customerId'];
    customerName = json['customerName'];
    doctor = json['doctor'];
    id = json['id'];
    prescriptionDate = json['prescriptionDate'];
    prescriptionDetailId = json['prescriptionDetailId'];
    prescriptionNo = json['prescriptionNo'];
    projectName = json['projectName'];
    quantity = json['quantity'];
    saasId = json['saasId'];
    status = json['status'];
    statusName = json['statusName'];
    stockId = json['stockId'];
    updatedBy = json['updatedBy'];
    updatedDate = json['updatedDate'];
    uploadDate = json['uploadDate'];
  }
  num? bedId;
  String? bedNo;
  num? branchId;
  num? completeQuantity;
  String? createdBy;
  String? createdDate;
  num? customerId;
  String? customerName;
  String? doctor;
  num? id;
  String? prescriptionDate;
  num? prescriptionDetailId;
  String? prescriptionNo;
  String? projectName;
  num? quantity;
  num? saasId;
  num? status;
  String? statusName;
  num? stockId;
  String? updatedBy;
  String? updatedDate;
  String? uploadDate;
TreatmentRecordListData copyWith({  num? bedId,
  String? bedNo,
  num? branchId,
  num? completeQuantity,
  String? createdBy,
  String? createdDate,
  num? customerId,
  String? customerName,
  String? doctor,
  num? id,
  String? prescriptionDate,
  num? prescriptionDetailId,
  String? prescriptionNo,
  String? projectName,
  num? quantity,
  num? saasId,
  num? status,
  String? statusName,
  num? stockId,
  String? updatedBy,
  String? updatedDate,
  String? uploadDate,
}) => TreatmentRecordListData(  bedId: bedId ?? this.bedId,
  bedNo: bedNo ?? this.bedNo,
  branchId: branchId ?? this.branchId,
  completeQuantity: completeQuantity ?? this.completeQuantity,
  createdBy: createdBy ?? this.createdBy,
  createdDate: createdDate ?? this.createdDate,
  customerId: customerId ?? this.customerId,
  customerName: customerName ?? this.customerName,
  doctor: doctor ?? this.doctor,
  id: id ?? this.id,
  prescriptionDate: prescriptionDate ?? this.prescriptionDate,
  prescriptionDetailId: prescriptionDetailId ?? this.prescriptionDetailId,
  prescriptionNo: prescriptionNo ?? this.prescriptionNo,
  projectName: projectName ?? this.projectName,
  quantity: quantity ?? this.quantity,
  saasId: saasId ?? this.saasId,
  status: status ?? this.status,
  statusName: statusName ?? this.statusName,
  stockId: stockId ?? this.stockId,
  updatedBy: updatedBy ?? this.updatedBy,
  updatedDate: updatedDate ?? this.updatedDate,
  uploadDate: uploadDate ?? this.uploadDate,
);
  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['bedId'] = bedId;
    map['bedNo'] = bedNo;
    map['branchId'] = branchId;
    map['completeQuantity'] = completeQuantity;
    map['createdBy'] = createdBy;
    map['createdDate'] = createdDate;
    map['customerId'] = customerId;
    map['customerName'] = customerName;
    map['doctor'] = doctor;
    map['id'] = id;
    map['prescriptionDate'] = prescriptionDate;
    map['prescriptionDetailId'] = prescriptionDetailId;
    map['prescriptionNo'] = prescriptionNo;
    map['projectName'] = projectName;
    map['quantity'] = quantity;
    map['saasId'] = saasId;
    map['status'] = status;
    map['statusName'] = statusName;
    map['stockId'] = stockId;
    map['updatedBy'] = updatedBy;
    map['updatedDate'] = updatedDate;
    map['uploadDate'] = uploadDate;
    return map;
  }

}